/**
 * Project Name:cnsy-url-short-service
 * File Name:TreeMenuVo.java
 * Package Name:cn.cnsy123.shorturls.business.vo 
 * Date: 2020年4月14日-下午3:52:01
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.vo;

import java.io.Serializable;
import java.util.List;

import cn.cnsy123.shorturls.api.controller.result.SysMenuResult;

/**
 * ClassName: TreeMenuVo
 * 
 * @author yangpengfei
 * @date 2020年4月14日-下午3:52:01
 * @version 1.0
 * @since JDK 1.7
 */
public class TreeMenuVo implements Serializable {
    
    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么). 
     * @since JDK 1.7
     */
    private static final long serialVersionUID = 5790819772775513141L;

    private SysMenuResult sysMenu;
    
    private List<TreeMenuVo> children;

    public SysMenuResult getSysMenu() {
        return sysMenu;
    }

    public void setSysMenu(SysMenuResult sysMenu) {
        this.sysMenu = sysMenu;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public List<TreeMenuVo> getChildren() {
        return children;
    }

    public void setChildren(List<TreeMenuVo> children) {
        this.children = children;
    }

    public TreeMenuVo() {
        super();
    }

    public TreeMenuVo(SysMenuResult sysMenu, List<TreeMenuVo> children) {
        super();
        this.sysMenu = sysMenu;
        this.children = children;
    }

    @Override
    public String toString() {
        return String.format("TreeMenuVo [sysMenu=%s, children=%s]", sysMenu, children);
    }

    
    
    

}
